<!--{include header}-->
    <!--{if option_yes('indexcateteam')}-->
    <div id="groupfl">
	 <div id="group-filter">
            <dl class="selitem">
                <dt>分类:</dt>
                <dd row="1" class="fold2">
                    <span class="sql_fold" style="display: inline;">全部</span>
                    <a class="all" href="?aid={$_GET['aid']}&sid=0&order={$_GET['order']}" <!--{if 0 == $_GET['sid']}--> style="color:#fd7d02;font-weight:bold;" <!--{/if}--> >全部</a>
                    ${current_team_category_cyms($sub_id, $area_id,$_GET['order'])} 		        		        		        		        		        		        		        		    
                </dd>
            </dl>
            <div class="filter-by-group-title"><span class="img_qy">区域：</span><a href="?aid=0&sid={$_GET['sid']}&order={$_GET['order']}"  <!--{if 0 == $_GET['aid']}--> style="color:#fd7d02;font-weight:bold;"<!--{else}-->style="color:#747371;" <!--{/if}-->>全部</a></div>
			<div class="filter-by-group-id" class="filter-by-group-id">
		    <ul>${current_team_area_cyms($area_id, $sub_id,$_GET['order'])}</ul>
			</div>
     </div>
     </div>
     <div id="group-filter" style="margin-top:-2px;padding:5px 0 5px 10px;width:968px;border-top:0px solid #e0e0e0">
            <div class="order-by">
                <a href="?aid={$_GET['aid']}&sid={$_GET['sid']}&order=" <!--{if ''== $_GET['order']}-->class="current-a"<!--{/if}--> >默认排序<i <!--{if ''== $_GET['order']}-->class="current"<!--{/if}--> ></i></a>
            </div>
            <div class="order-by">
                <a href="?aid={$_GET['aid']}&sid={$_GET['sid']}&order=price" <!--{if 'price'== $_GET['order']}-->class="current-a"<!--{/if}--> >价格排序<i <!--{if 'price'== $_GET['order']}-->class="current"<!--{/if}--> ></i></a>
            </div>
            <div class="order-by">
                <a href="?aid={$_GET['aid']}&sid={$_GET['sid']}&order=number" <!--{if 'number'== $_GET['order']}-->class="current-a"<!--{/if}--> >购买人数<i <!--{if 'number'== $_GET['order']}-->class="current"<!--{/if}--> ></i></a>
            </div>
            <div class="order-by">
                <a href="?aid={$_GET['aid']}&sid={$_GET['sid']}&order=new" <!--{if 'new'== $_GET['order']}-->class="current-a"<!--{/if}--> >最新团购<i <!--{if 'new'== $_GET['order']}-->class="current"<!--{/if}--> ></i></a>
            </div>
     </div>
	 <!--{/if}-->
<div id="bdw" class="bdw">
<div id="bd" class="cf">
	
	<!--<div style="margin:0 auto 10px;*margin-bottom:5px;_margin-bottom:5px;width:950px;clear:both">{$pagestring}</div>-->
	<!--{loop $teams $tindex $team}-->
	<div class="center">
    	<div class="t-cen">
            <!--{if $now<$team['begin_time']+604800}-->
            <div class="new"></div>
            <!--{/if}-->
            <div class="title"><a  title="{$team['short_title']}" href="/team.php?id={$team['id']}" target='_blank'><strong><!--{if $team['short_title']}-->{$team['short_title']}<!--{else}-->${mb_substr($team['title'],0,33,'UTF-8')}...<!--{/if}--></strong></a></div>
            <div class="photo">
                <a href="/team.php?id={$team['id']}" target='_blank'><img title="{$team['short_title']}" class="imglazyload" loaded="false" src="/static/img/lazyload.gif" original="${team_image($team['image'])}" width="294px" height="196" /></a>
                <div class="buy-mask"></div>
                <div class="targ_bar"><span>原价 <label style="text-decoration:line-through;">{$currency}${moneyit($team['market_price'])}</label></span>&nbsp;&nbsp;&nbsp;<span>折扣 ${team_discount($team)}</span><span style="float:right;*float:none;_float:none;width:auto;position:absolute;right:2px;line-height:15px"><font color="#B0E553" size=+1>{$team['now_number']}</font>人已购买</span></div>
                <!--${
                    $teamprice=strval($team['team_price']);
                    $teamprice=substr($teamprice,-2);
                }-->
                <div class="bar"><span class="font">{$currency}${mb_substr($team['team_price'],0,-3,'UTF-8')}.<font size="+2">{$teamprice}</font></span><a class="bargoods" href="/team.php?id={$team['id']}" target='_blank'></a></div>
            </div>
        </div>
	</div>
	<!--{/loop}-->
	<div style="margin:0 auto;width:950px;clear:both">{$pagestring}</div>

</div> <!-- bd end -->
</div> <!-- bdw end -->
<!--{include footer}-->
